package com.jw.blog.wblog.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jw.blog.wblog.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jw.blog.wblog.entity.custom.TimeAndCount;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 无良芳
 * @since 2020-06-17
 */
public interface IBlogService extends IService<Blog> {
    /**
     * 查询语句太复杂，相比之下还是写sql语句比较麻烦
     * @param map 传入参数
     * @return 返回list
     */
    List<TimeAndCount> selectBlogListByDate(Map<String, Object> map);
}
